﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace OpenExpressApp
{
    /// <summary>
    /// 注册是否显示规则
    /// </summary>
    public interface IVisibleRegister
    {
        /// <summary>
        /// 注册到BOType类库上
        /// </summary>
        /// <param name="BOType"></param>
        /// <param name="visibleCheck"></param>
        void VisibleCheckerRegister(Type BOType, IVisibleChecker visibleCheck);
        /// <summary>
        /// 每个类库都使用这个规则
        /// </summary>
        /// <param name="visibleCheck"></param>
        void VisibleCheckerRegister(IVisibleChecker visibleCheck);
        /// <summary>
        /// 取出BOType上的规则
        /// </summary>
        /// <param name="BOType"></param>
        /// <returns></returns>
        IList<IVisibleChecker> GetVisibleCheckerList(Type BOType);
        //IList<IVisibleChecker> GeVisibleCheckerList();
    }
}

